package com.supms.patrol.service;

import java.util.List;
import com.supms.patrol.domain.DailyInspectionItems;

/**
 * 日常巡查项Service接口
 * 
 * @author LiangHao
 * @date 2022-03-14
 */
public interface IDailyInspectionItemsService 
{
    /**
     * 查询日常巡查项
     * 
     * @param id 日常巡查项主键
     * @return 日常巡查项
     */
    public DailyInspectionItems selectDailyInspectionItemsById(Long id);

    /**
     * 查询日常巡查项列表
     * 
     * @param dailyInspectionItems 日常巡查项
     * @return 日常巡查项集合
     */
    public List<DailyInspectionItems> selectDailyInspectionItemsList(DailyInspectionItems dailyInspectionItems);

    /**
     * 新增日常巡查项
     * 
     * @param dailyInspectionItems 日常巡查项
     * @return 结果
     */
    public int insertDailyInspectionItems(DailyInspectionItems dailyInspectionItems);

    /**
     * 修改日常巡查项
     * 
     * @param dailyInspectionItems 日常巡查项
     * @return 结果
     */
    public int updateDailyInspectionItems(DailyInspectionItems dailyInspectionItems);

    /**
     * 批量删除日常巡查项
     * 
     * @param ids 需要删除的日常巡查项主键集合
     * @return 结果
     */
    public int deleteDailyInspectionItemsByIds(Long[] ids);

    /**
     * 删除日常巡查项信息
     * 
     * @param id 日常巡查项主键
     * @return 结果
     */
    public int deleteDailyInspectionItemsById(Long id);

    /**
     * 获取当前记录表的日常巡查记录
     *
     * @param dailyInspectionId 日常巡查表ID
     * @return 日常巡查记录表和记录结果
     */
    public List<DailyInspectionItems> getDailyInspectionItemByDIId(Long dailyInspectionId);

    /**
     * 添加日常巡查情况记录
     *
     * @param dailyInspectionItemsList 提交的日常巡查情况记录表
     * @return 结果
     */
    public int insertDailyInspectionEval(List<DailyInspectionItems> dailyInspectionItemsList);

    /**
     * 修改（更新）日常巡查情况记录
     *
     * @param dailyInspectionItemsList 提交的日常巡查情况记录表
     * @return 结果
     */
    public int updateDailyInspectionEval(List<DailyInspectionItems> dailyInspectionItemsList);
}
